package com.baoxin.mapper;

import com.baoxin.domain.User;
import com.github.pagehelper.Page;

import java.util.List;

public interface UserMapper {

    List<User> findAll();

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    Page<User> findByPaging();

}